/*
 * @Author: yhlz-${username}
 * @Date: 2022-02-05 21:14:27
 * @LastEditTime: 2022-02-28 21:22:16
 * @LastEditors: yhlz-${username}
 * yhlz.com
 */
import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
const routes: RouteRecordRaw[] = [
  {
    path: "/",
    component: () => import("../components/container/src/index.vue"),
    children: [
      {
        path: "/",
        component: () => import("../views/Home.vue"),
      },
      {
        path: "/chooseIcon",
        component: () => import("../views/chooseIcon/index.vue"),
      },
    ],
  },
];

const router = createRouter({
  routes,
  history: createWebHistory(),
});

export default router;
